﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace WCrawler
{
    public class WebConfiguration
    {
        public static string LocalPath
        {
            get
            {
                return ConfigurationManager.AppSettings["LocalPath"];
            }
        }

        public static string Photobucket_ApiKey
        {
            get
            {
                return ConfigurationManager.AppSettings["Photobucket_ApiKey"];
            }
        }

        public static string Photobucket_ApiSecret
        {
            get
            {
                return ConfigurationManager.AppSettings["Photobucket_ApiSecret"];
            }
        }

        public static int Photobucket_WaitTime
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["Photobucket_WaitTime"]);
            }
        }
    }
}